home *** CD-ROM | disk | FTP | other *** search
- RANGE(3I) Last changed: 1-6-98
-
-
- NNAAMMEE
- RRAANNGGEE - Returns the decimal exponent range of a number according to
- the real or integer model
-
- SSYYNNOOPPSSIISS
- RRAANNGGEE (([XX==]_x))
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- UNICOS, UNICOS/mk, and IRIX systems
-
- SSTTAANNDDAARRDDSS
- Fortran 90
-
- DDEESSCCRRIIPPTTIIOONN
- The RRAANNGGEE intrinsic function returns the decimal exponent range in the
- model representing integer or real numbers with the same kind type
- parameter as the argument. For information on integer number model or
- the real number model, see the MMOODDEELLSS(3I) man page. It accepts the
- following argument:
-
- _x Must be of type integer, real, or complex. It may be scalar or
- array valued.
-
- RRAANNGGEE is an inquiry function. The name of this intrinsic cannot be
- passed as an argument.
-
- RREETTUURRNN VVAALLUUEESS
- The result is a default integer scalar.
-
- For an integer argument, the result has the value IINNTT((LLOOGG1100 (_h_u_g_e)),
- where _h_u_g_e is the largest positive integer in the model representing
- integer numbers with same kind type parameter as _x.
-
- For a real or complex argument, the result has the value
- IINNTT((MMIINN((LLOOGG1100((_h_u_g_e)),,--LLOOGG1100((_t_i_n_y)))))), where _h_u_g_e and _t_i_n_y are the
- largest and smallest positive numbers in the model representing real
- numbers with the same value for the kind type parameter as _x.
-
- EEXXAAMMPPLLEESS
- On UNICOS systems, excluding CRAY T90 systems that support IEEE
- floating-point arithmetic, RRAANNGGEE((XX)) has the value 2465 for real XX.
-
- On IRIX systems, RRAANNGGEE((XX)) has the following values:
-
- * 37 for real ((KKIINNDD==44)) XX
-
- * 307 for real ((KKIINNDD==88)) XX
-
- * 291 for real ((KKIINNDD==1166)) XX
-
- On UNICOS/mk systems, RRAANNGGEE((XX)) has the following values:
-
- * 37 for real ((KKIINNDD==44)) XX
-
- * 307 for real ((KKIINNDD==88)) XX
-
- On CRAY T90 systems that support IEEE floating-point arithmetic,
- RRAANNGGEE((XX)) has the following values:
-
- * 37 for real ((KKIINNDD==44)) XX
-
- * 307 for real ((KKIINNDD==88)) XX
-
- * 4931 for real ((KKIINNDD==1166)) XX
-
- SSEEEE AALLSSOO
- MMOODDEELLSS(3I)
-
- _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, publication SR-2138, for the
- printed version of this man page.
-
-